Factor of safety in soil mechanics